package hc.bre
import hc.bre.cmn.DiffType
import hc.bre.cmn.ListOption
import hc.bre.rest.admin.BrePermission

import org.springframework.beans.factory.annotation.Value
import org.springframework.stereotype.Component

@groovy.transform.CompileStatic
class ThisApplicationConfig {
	public List<ComponentConfig> getComponentList() {
		return ComponentRegistry.componentList;
	}
	
	public Map<String, ComponentConfig> getComponentMap() {
		return ComponentRegistry.componentMap;
	}
	
	public List<Map> getPermList() {
		return BrePermission.list();
	}

	public Map<String,String> getDiffTypeMap() {
		return DiffType.map();
	}
}
